import axios from "axios"
import { type } from "os"

const instance = axios.create({
  timeout: 10 * 1000,
})

export default instance

export type ResType = {
  errno: number
  data?: object
  msg?: string
}

export type ResDataType = {
  [key: string]: any
}
